package org.shark.jdbcTemplateTool.exception;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by lenovo on 2016/8/16.
 */
@SuppressWarnings("serial")
public class SqlFormatException extends Exception {

    private static final Logger log = LoggerFactory.getLogger(SqlNotFoundException.class);

    public SqlFormatException(String msg, Exception e){
        super(msg, e);
        log.error(msg, e);
    }

    public SqlFormatException(String msg){
        super(msg);
        log.error(msg);
    }
}
